Optimal. Leaf size=86 \[ -\frac {(B d-A e) (a+b x)^4}{5 e (b d-a e) (d+e x)^5}+\frac {(4 b B d+A b e-5 a B e) (a+b x)^4}{20 e (b d-a e)^2 (d+e x)^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {79, 37}
\begin {gather*} \frac {(a+b x)^4 (-5 a B e+A b e+4 b B d)}{20 e (d+e x)^4 (b d-a e)^2}-\frac {(a+b x)^4 (B d-A e)}{5 e (d+e x)^5 (b d-a e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 79
Rubi steps
\begin {align*} \int \frac {(a+b x)^3 (A+B x)}{(d+e x)^6} \, dx &=-\frac {(B d-A e) (a+b x)^4}{5 e (b d-a e) (d+e x)^5}+\frac {(4 b B d+A b e-5 a B e) \int \frac {(a+b x)^3}{(d+e x)^5} \, dx}{5 e (b d-a e)}\\ &=-\frac {(B d-A e) (a+b x)^4}{5 e (b d-a e) (d+e x)^5}+\frac {(4 b B d+A b e-5 a B e) (a+b x)^4}{20 e (b d-a e)^2 (d+e x)^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(211\) vs. \(2(86)=172\).
time = 0.07, size = 211, normalized size = 2.45 \begin {gather*} -\frac {a^3 e^3 (4 A e+B (d+5 e x))+a^2 b e^2 \left (3 A e (d+5 e x)+2 B \left (d^2+5 d e x+10 e^2 x^2\right )\right )+a b^2 e \left (2 A e \left (d^2+5 d e x+10 e^2 x^2\right )+3 B \left (d^3+5 d^2 e x+10 d e^2 x^2+10 e^3 x^3\right )\right )+b^3 \left (A e \left (d^3+5 d^2 e x+10 d e^2 x^2+10 e^3 x^3\right )+4 B \left (d^4+5 d^3 e x+10 d^2 e^2 x^2+10 d e^3 x^3+5 e^4 x^4\right )\right )}{20 e^5 (d+e x)^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(280\) vs.
\(2(82)=164\).
time = 0.07, size = 281, normalized size = 3.27
method | result | size |
risch | \(\frac {-\frac {b^{3} B \,x^{4}}{e}-\frac {b^{2} \left (A b e +3 B a e +4 B b d \right ) x^{3}}{2 e^{2}}-\frac {b \left (2 A a b \,e^{2}+A \,b^{2} d e +2 B \,a^{2} e^{2}+3 B a b d e +4 b^{2} B \,d^{2}\right ) x^{2}}{2 e^{3}}-\frac {\left (3 A \,a^{2} b \,e^{3}+2 A a \,b^{2} d \,e^{2}+A \,b^{3} d^{2} e +B \,a^{3} e^{3}+2 B \,a^{2} b d \,e^{2}+3 B a \,b^{2} d^{2} e +4 b^{3} B \,d^{3}\right ) x}{4 e^{4}}-\frac {4 a^{3} A \,e^{4}+3 A \,a^{2} b d \,e^{3}+2 A a \,b^{2} d^{2} e^{2}+A \,b^{3} d^{3} e +B \,a^{3} d \,e^{3}+2 B \,a^{2} b \,d^{2} e^{2}+3 B a \,b^{2} d^{3} e +4 b^{3} B \,d^{4}}{20 e^{5}}}{\left (e x +d \right )^{5}}\) | \(264\) |
norman | \(\frac {-\frac {b^{3} B \,x^{4}}{e}-\frac {\left (A \,b^{3} e +3 B a \,b^{2} e +4 b^{3} B d \right ) x^{3}}{2 e^{2}}-\frac {\left (2 A a \,b^{2} e^{2}+A \,b^{3} d e +2 B \,a^{2} b \,e^{2}+3 B a \,b^{2} d e +4 b^{3} B \,d^{2}\right ) x^{2}}{2 e^{3}}-\frac {\left (3 A \,a^{2} b \,e^{3}+2 A a \,b^{2} d \,e^{2}+A \,b^{3} d^{2} e +B \,a^{3} e^{3}+2 B \,a^{2} b d \,e^{2}+3 B a \,b^{2} d^{2} e +4 b^{3} B \,d^{3}\right ) x}{4 e^{4}}-\frac {4 a^{3} A \,e^{4}+3 A \,a^{2} b d \,e^{3}+2 A a \,b^{2} d^{2} e^{2}+A \,b^{3} d^{3} e +B \,a^{3} d \,e^{3}+2 B \,a^{2} b \,d^{2} e^{2}+3 B a \,b^{2} d^{3} e +4 b^{3} B \,d^{4}}{20 e^{5}}}{\left (e x +d \right )^{5}}\) | \(272\) |
default | \(-\frac {b^{2} \left (A b e +3 B a e -4 B b d \right )}{2 e^{5} \left (e x +d \right )^{2}}-\frac {3 A \,a^{2} b \,e^{3}-6 A a \,b^{2} d \,e^{2}+3 A \,b^{3} d^{2} e +B \,a^{3} e^{3}-6 B \,a^{2} b d \,e^{2}+9 B a \,b^{2} d^{2} e -4 b^{3} B \,d^{3}}{4 e^{5} \left (e x +d \right )^{4}}-\frac {b^{3} B}{e^{5} \left (e x +d \right )}-\frac {a^{3} A \,e^{4}-3 A \,a^{2} b d \,e^{3}+3 A a \,b^{2} d^{2} e^{2}-A \,b^{3} d^{3} e -B \,a^{3} d \,e^{3}+3 B \,a^{2} b \,d^{2} e^{2}-3 B a \,b^{2} d^{3} e +b^{3} B \,d^{4}}{5 e^{5} \left (e x +d \right )^{5}}-\frac {b \left (A a b \,e^{2}-A \,b^{2} d e +B \,a^{2} e^{2}-3 B a b d e +2 b^{2} B \,d^{2}\right )}{e^{5} \left (e x +d \right )^{3}}\) | \(281\) |
gosper | \(-\frac {20 b^{3} B \,x^{4} e^{4}+10 A \,b^{3} e^{4} x^{3}+30 B a \,b^{2} e^{4} x^{3}+40 B \,b^{3} d \,e^{3} x^{3}+20 A a \,b^{2} e^{4} x^{2}+10 A \,b^{3} d \,e^{3} x^{2}+20 B \,a^{2} b \,e^{4} x^{2}+30 B a \,b^{2} d \,e^{3} x^{2}+40 B \,b^{3} d^{2} e^{2} x^{2}+15 A \,a^{2} b \,e^{4} x +10 A a \,b^{2} d \,e^{3} x +5 A \,b^{3} d^{2} e^{2} x +5 B \,a^{3} e^{4} x +10 B \,a^{2} b d \,e^{3} x +15 B a \,b^{2} d^{2} e^{2} x +20 B \,b^{3} d^{3} e x +4 a^{3} A \,e^{4}+3 A \,a^{2} b d \,e^{3}+2 A a \,b^{2} d^{2} e^{2}+A \,b^{3} d^{3} e +B \,a^{3} d \,e^{3}+2 B \,a^{2} b \,d^{2} e^{2}+3 B a \,b^{2} d^{3} e +4 b^{3} B \,d^{4}}{20 \left (e x +d \right )^{5} e^{5}}\) | \(299\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 301 vs.
\(2 (87) = 174\).
time = 0.31, size = 301, normalized size = 3.50 \begin {gather*} -\frac {20 \, B b^{3} x^{4} e^{4} + 4 \, B b^{3} d^{4} + 4 \, A a^{3} e^{4} + {\left (3 \, B a b^{2} e + A b^{3} e\right )} d^{3} + 10 \, {\left (4 \, B b^{3} d e^{3} + 3 \, B a b^{2} e^{4} + A b^{3} e^{4}\right )} x^{3} + 2 \, {\left (B a^{2} b e^{2} + A a b^{2} e^{2}\right )} d^{2} + 10 \, {\left (4 \, B b^{3} d^{2} e^{2} + 2 \, B a^{2} b e^{4} + 2 \, A a b^{2} e^{4} + {\left (3 \, B a b^{2} e^{3} + A b^{3} e^{3}\right )} d\right )} x^{2} + {\left (B a^{3} e^{3} + 3 \, A a^{2} b e^{3}\right )} d + 5 \, {\left (4 \, B b^{3} d^{3} e + B a^{3} e^{4} + 3 \, A a^{2} b e^{4} + {\left (3 \, B a b^{2} e^{2} + A b^{3} e^{2}\right )} d^{2} + 2 \, {\left (B a^{2} b e^{3} + A a b^{2} e^{3}\right )} d\right )} x}{20 \, {\left (x^{5} e^{10} + 5 \, d x^{4} e^{9} + 10 \, d^{2} x^{3} e^{8} + 10 \, d^{3} x^{2} e^{7} + 5 \, d^{4} x e^{6} + d^{5} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 283 vs.
\(2 (87) = 174\).
time = 0.54, size = 283, normalized size = 3.29 \begin {gather*} -\frac {4 \, B b^{3} d^{4} + {\left (20 \, B b^{3} x^{4} + 4 \, A a^{3} + 10 \, {\left (3 \, B a b^{2} + A b^{3}\right )} x^{3} + 20 \, {\left (B a^{2} b + A a b^{2}\right )} x^{2} + 5 \, {\left (B a^{3} + 3 \, A a^{2} b\right )} x\right )} e^{4} + {\left (40 \, B b^{3} d x^{3} + 10 \, {\left (3 \, B a b^{2} + A b^{3}\right )} d x^{2} + 10 \, {\left (B a^{2} b + A a b^{2}\right )} d x + {\left (B a^{3} + 3 \, A a^{2} b\right )} d\right )} e^{3} + {\left (40 \, B b^{3} d^{2} x^{2} + 5 \, {\left (3 \, B a b^{2} + A b^{3}\right )} d^{2} x + 2 \, {\left (B a^{2} b + A a b^{2}\right )} d^{2}\right )} e^{2} + {\left (20 \, B b^{3} d^{3} x + {\left (3 \, B a b^{2} + A b^{3}\right )} d^{3}\right )} e}{20 \, {\left (x^{5} e^{10} + 5 \, d x^{4} e^{9} + 10 \, d^{2} x^{3} e^{8} + 10 \, d^{3} x^{2} e^{7} + 5 \, d^{4} x e^{6} + d^{5} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 281 vs.
\(2 (87) = 174\).
time = 1.98, size = 281, normalized size = 3.27 \begin {gather*} -\frac {{\left (20 \, B b^{3} x^{4} e^{4} + 40 \, B b^{3} d x^{3} e^{3} + 40 \, B b^{3} d^{2} x^{2} e^{2} + 20 \, B b^{3} d^{3} x e + 4 \, B b^{3} d^{4} + 30 \, B a b^{2} x^{3} e^{4} + 10 \, A b^{3} x^{3} e^{4} + 30 \, B a b^{2} d x^{2} e^{3} + 10 \, A b^{3} d x^{2} e^{3} + 15 \, B a b^{2} d^{2} x e^{2} + 5 \, A b^{3} d^{2} x e^{2} + 3 \, B a b^{2} d^{3} e + A b^{3} d^{3} e + 20 \, B a^{2} b x^{2} e^{4} + 20 \, A a b^{2} x^{2} e^{4} + 10 \, B a^{2} b d x e^{3} + 10 \, A a b^{2} d x e^{3} + 2 \, B a^{2} b d^{2} e^{2} + 2 \, A a b^{2} d^{2} e^{2} + 5 \, B a^{3} x e^{4} + 15 \, A a^{2} b x e^{4} + B a^{3} d e^{3} + 3 \, A a^{2} b d e^{3} + 4 \, A a^{3} e^{4}\right )} e^{\left (-5\right )}}{20 \, {\left (x e + d\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 307, normalized size = 3.57 \begin {gather*} -\frac {\frac {B\,a^3\,d\,e^3+4\,A\,a^3\,e^4+2\,B\,a^2\,b\,d^2\,e^2+3\,A\,a^2\,b\,d\,e^3+3\,B\,a\,b^2\,d^3\,e+2\,A\,a\,b^2\,d^2\,e^2+4\,B\,b^3\,d^4+A\,b^3\,d^3\,e}{20\,e^5}+\frac {x\,\left (B\,a^3\,e^3+2\,B\,a^2\,b\,d\,e^2+3\,A\,a^2\,b\,e^3+3\,B\,a\,b^2\,d^2\,e+2\,A\,a\,b^2\,d\,e^2+4\,B\,b^3\,d^3+A\,b^3\,d^2\,e\right )}{4\,e^4}+\frac {b^2\,x^3\,\left (A\,b\,e+3\,B\,a\,e+4\,B\,b\,d\right )}{2\,e^2}+\frac {b\,x^2\,\left (2\,B\,a^2\,e^2+3\,B\,a\,b\,d\,e+2\,A\,a\,b\,e^2+4\,B\,b^2\,d^2+A\,b^2\,d\,e\right )}{2\,e^3}+\frac {B\,b^3\,x^4}{e}}{d^5+5\,d^4\,e\,x+10\,d^3\,e^2\,x^2+10\,d^2\,e^3\,x^3+5\,d\,e^4\,x^4+e^5\,x^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________